﻿using System;
using System.Collections.Generic;
using System.Text;

namespace com.dtn.deals.SmsMessage
{
    [Serializable]
    public class SmsMessage
    {
        public string MobileNo { get; set; }

        public string SortCode { get; set; }

        public string RequestId { get; set; }

        public string Keyword { get; set; }

        public string KeywordGateId { get; set; }

        public string SubKeyword { get; set; }

        public string SourceId { get; set; }

        public string Price { get; set; }

        public string Quantity { get; set; }

        private string[] param = new string[0];

        public string[] Param
        {
            get { return param; }
            set { param = value; }
        }

        public string Raw { get; set; }

        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();
            sb.Append(MobileNo + " | ");
            sb.Append(SortCode + " | ");
            sb.Append(RequestId + " | ");
            sb.Append(Keyword + " | ");
            sb.Append(KeywordGateId + " | ");
            sb.Append(Price + " | ");
            sb.Append(Quantity + " | ");
            sb.Append(SubKeyword);
            return sb.ToString();
        }
    }
}
